<script setup>
import {useRoute} from "vue-router";
let router=useRoute()
</script>
<template>
  <router-view></router-view><br>
  <router-link to="/user/:1">切换回id:1</router-link><br>
  <router-link to="/">首页</router-link><br>
  <router-link to="/About">跳转</router-link>
</template>
